package com.fr.model;

public class Coach {
	private int coach_id;
    private String company;
    private String photo;
    private String avatar;
    private String nickname;
    private int price;
    private String message;
    private long distance;
    private double lat;
    private double lon;
    
	public Coach() {
		super();
	}

	public Coach(int coach_id) {
		super();
		this.coach_id = coach_id;
	}
	
	public Coach(int coach_id, String company, String photo, String avatar, String nickname, int price, String message,
			double lat, double lon) {
		super();
		this.coach_id = coach_id;
		this.company = company;
		this.photo = photo;
		this.avatar = avatar;
		this.nickname = nickname;
		this.price = price;
		this.message = message;
		this.lat = lat;
		this.lon = lon;
	}

	public Coach(int coach_id, String company, String photo, String avatar, String nickname, int price, String message,
			long distance, double lat, double lon) {
		super();
		this.coach_id = coach_id;
		this.company = company;
		this.photo = photo;
		this.avatar = avatar;
		this.nickname = nickname;
		this.price = price;
		this.message = message;
		this.distance = distance;
		this.lat = lat;
		this.lon = lon;
	}
	
	@Override
	public String toString() {
		return "Coach [coach_id=" + coach_id + ", company=" + company + ", photo=" + photo + ", avatar=" + avatar
				+ ", nickname=" + nickname + ", price=" + price + ", message=" + message + ", distance=" + distance
				+ ", lat=" + lat + ", lon=" + lon + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + coach_id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Coach other = (Coach) obj;
		if (coach_id != other.coach_id)
			return false;
		return true;
	}

	public int getCoach_id() {
		return coach_id;
	}

	public void setCoach_id(int coach_id) {
		this.coach_id = coach_id;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public long getDistance() {
		return distance;
	}

	public void setDistance(long distance) {
		this.distance = distance;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLon() {
		return lon;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}
}